<?php

namespace Part07_ProxyPattern\Code3;

require_once '../../autoload.php';

$girl = new SchoolGirl();
$girl->setName('李娇娇');

$manD = new Proxy('戴励', '卓贾易', $girl->getName());
$manD->giveChocolate();
$manD->giveDolls();
$manD->giveFlowers();